package com.xunker.client;


import com.xunker.appointment.vo.order.ScheduleOrderVo;
import com.xunker.appointment.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Repository
@FeignClient(value="service-hospital")
public interface HospitalFeignClient {
    @GetMapping("admin/hospital/schedule/getScheduleOrderVo/{scheduleId}")
    ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") Long scheduleId);
    @GetMapping("admin/hospital/hospitalSet/inner/getSignInfoVo/{hospitalCode}")
    SignInfoVo getSignInfoVo(@PathVariable("hospitalCode") String hospitalCode);
}
